﻿<phone:PhoneApplicationPage 
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"  
    x:Class="NutriLeaf.Phone.Pages.Account.Profile.Profile"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="696"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <!--Pivot Control-->
        <controls:Pivot Title="PROFILE SETTINGS">
            <!--Pivot item one-->
            <controls:PivotItem x:Name="BasicPage" Header="basic">
                <Grid>
                	<StackPanel VerticalAlignment="Top" d:LayoutOverrides="Width" Height="599">
                		<TextBlock TextWrapping="Wrap" Text="First Name"/>
                		<TextBox x:Name="FirstNameTB" TextWrapping="Wrap"/>
                		<TextBlock TextWrapping="Wrap" Text="Last Name"/>
                		<TextBox x:Name="LastNameTB" TextWrapping="Wrap"/>
                		<TextBlock TextWrapping="Wrap" Text="Gender"/>
                		<StackPanel Orientation="Horizontal">
                			<RadioButton x:Name="MaleRB" Content="Male" d:LayoutOverrides="Width"/>
                			<RadioButton x:Name="FemaleRB" Content="Female" d:LayoutOverrides="Width"/>
                		</StackPanel>
                		<TextBlock TextWrapping="Wrap" Text="Birthday"/>
                		<TextBox x:Name="BirthdayTB" TextWrapping="Wrap"/>
                		<Button x:Name="UpdateFromFacebookBtn" Content="Update from Facebook" d:LayoutOverrides="Width" Margin="0,38,0,0" Click="UpdateFromFacebookBtn_Click" />
                	</StackPanel>
                    
                </Grid>
            </controls:PivotItem>

            <!--Pivot item two-->
            <controls:PivotItem x:Name="BiometricsPage" Header="biometrics">
                <Grid Margin="0,0,0,8">
                	<ScrollViewer Margin="0,0,0,14">
                		<StackPanel Orientation="Vertical" VerticalAlignment="Top" Width="456">
                			<TextBlock TextWrapping="Wrap" Text="Weight"/>
                			<TextBox x:Name="WeightTB" TextWrapping="Wrap"/>
                			<TextBlock TextWrapping="Wrap" Text="Units"/>
                			<toolkit:ListPicker x:Name="WeightUnitsCB" Margin="12,0">
                				<ComboBoxItem x:Name="PoundsCBItem" Content="Pounds"/>
                				<ComboBoxItem x:Name="KilogramsCBItem" Content="Kilograms"/>
                			</toolkit:ListPicker>
                			<TextBlock TextWrapping="Wrap" Text="Height"/>
                			<TextBox x:Name="HeightTB" TextWrapping="Wrap"/>
                			<TextBlock TextWrapping="Wrap" Text="Units"/>
                			<toolkit:ListPicker x:Name="HeightUnitsCB" Margin="12,0">
                				<ComboBoxItem x:Name="InchesCBItem" Content="Inches"/>
                				<ComboBoxItem x:Name="CentimetersCBITem" Content="Centimeters"/>
                			</toolkit:ListPicker>
                			<TextBlock TextWrapping="Wrap" Text="Activity Levels"/>
                			<toolkit:ListPicker x:Name="ActivityCB" Margin="12,0">
                				<ComboBoxItem x:Name="SedentaryCBItem" Content="Sedantary"/>
                				<ComboBoxItem x:Name="LightlyActiveCBItem" Content="Lightly Active"/>
                				<ComboBoxItem x:Name="ModeratelyActiveCBItem" Content="Moderately Active"/>
                				<ComboBoxItem x:Name="VeryActiveCBItem" Content="Very Active"/>
                				<ComboBoxItem x:Name="ExtraActiveCBItem" Content="Extra Active"/>
                			</toolkit:ListPicker>
					
					
                			<StackPanel Orientation="Vertical" Width="456">
                				<Grid d:LayoutOverrides="Width"/>
                			</StackPanel>
					
					
                		</StackPanel>
                	</ScrollViewer>
                </Grid>
            </controls:PivotItem>
        </controls:Pivot>
    </Grid>

   
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton x:Name="SaveProfileAppBarBtn" IconUri="/icons/MB_0008_save.png" Text="save" Click="SaveProfileAppBarBtn_Click"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
    
</phone:PhoneApplicationPage>